package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.entity.ResponseData;
import com.example.entity.VoPrescriptionDetail;
import com.example.pojo.Prescription;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 开药信息表(Prescription)表数据库访问层
 *
 * @email: pengyujun53@163.com
 * @author: peng_YuJun
 * @date: 2024/01/17
 * @time: 23:08
 */
@Repository
public interface PrescriptionMapper extends BaseMapper<Prescription> {
    /**
     * 根据病人id查询药单详情信息列表
     * @param ptId
     * @return
     */
    List<VoPrescriptionDetail> selectDetailByPtId(Long ptId);

}

